<?php

class Administrator_Form_Login extends Zend_Form
{

    public function init()
    {
        $this->setAction(_BASE_URL."/administrator/login")->setMethod("post");
        
    	$username = $this->createElement("text", "username", array('autocomplete'=>'off', 'id'=>'user_login', 'value' => '', 'size'=>'20', 'tabindex' => '1'));
    	$username->removeDecorator("HtmlTag")->removeDecorator("label");
    	
    	$password = $this->createElement("password", "password", array(''));
        $password->removeDecorator("HtmlTag")->removeDecorator("label");
        
        $submit = $this->createElement("submit", "Login", array('class'=>'button-primary', 'value'=> 'Đăng nhập'));
        $submit->removeDecorator("DtDdWrapper");
        
        $this->addElements(array($username, $password, $submit));
    }
}

